package com.emip.util.report;

import com.emip.bean.Store;

public abstract class Comput {
	protected int count = 0;
	protected String flag;
	public void put(Store store) {
		count ++;
		appendData(store);
	}
	protected abstract void appendData(Store store);
	public abstract String getResult();
	public abstract Comput newInstance();
	public String getComputName() {
		return this.getClass().getSimpleName();
	}
	public abstract String getLabel();
	public int getCount() {
		return count;
	}
	public String getFlag() {
		return flag;
	}
	public void setFlag(String flag) {
		this.flag = flag;
	}
}
